/*
package com.isoft.dao.tabledao;

import com.isoft.entity.tableentity.base_cfie.BaseCfieMeta;
import com.isoft.entity.tableentity.base_cfie.Crft;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.sql.Timestamp;

@Mapper
public interface BaseCfieDao {
    @Insert("insert into TEAM04.COMMON_META( create_time, sndr, rcvr, seqn, ddtm, type, styp) " +
            "values( #{create_time}, #{meta.sndr}, #{meta.rcvr}, #{meta.seqn}," +
            " #{ddtm}, #{meta.type}, #{meta.styp})")
    public int insertMeta(@Param("create_time") Timestamp create_time,
                          @Param("ddtm") Timestamp ddtm, @Param("meta") BaseCfieMeta baseCfieMeta);

    @Insert("insert into TEAM04.BASE_CFIE(meta_id,create_time,code,cftp,awcd,stnm,rstn,cfsa,ttwc,mxlw,rllw) " +
            "values(#{meta_id},#{create_time},#{crft.code},#{crft.cftp},#{crft.awcd},#{crft.stnm},#{crft.rstn},#{crft.cfsa},#{crft.ttwc}," +
            "#{crft.mxlw},#{crft.rllw})")
    public int insertCrft(@Param("meta_id") int meta_id, @Param("create_time")
                            Timestamp create_time, @Param("crft")Crft crft);
}
*/
